{% load static %}
<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>{% block title %}hometown base html{% endblock title %}</title>
    <meta name="description" content="{% block description %}description{% endblock description %}">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
        integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
    <link rel="stylesheet" href="">
    <link rel="stylesheet" type="text/css" href="{% static 'home/style.css' %}">
</head>

<body>
    <!--[if lt IE 7]>
            <p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="#">upgrade your browser</a> to improve your experience.</p>
        <![endif]-->
    <div class="container-fluid">
        <div class="row sticky-top">
            <div class="col">
                <nav class="navbar navbar-expand-lg navbar-light bg-light ">
                    <!-- <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarTogglerDemo01"
                    aria-controls="navbarTogglerDemo01" aria-expanded="false" aria-label="Toggle navigation">
                    <span class="navbar-toggler-icon"></span>
                </button> -->
                    <div class="collapse navbar-collapse" id="navbarTogglerDemo01">
                        <a class="navbar-brand" href="#"><img src="{% static 'images/logo.png' %}" alt="" style="max-width: 15%;height:auto;"></a>
                        <ul class="navbar-nav mr-auto mt-2 mt-lg-0">
                            <li class="nav-item">
                                <a class="nav-link" href="#">家乡历史</a>
                            </li>
                            <li class="nav-item">
                                <a class="nav-link" href="#">家乡名人</a>
                            </li>
                            <li class="nav-item">
                                <a class="nav-link" href="#">家乡美景</a>
                            </li>
                            <li class="nav-item">
                                <a class="nav-link" href="#">家乡建筑</a>
                            </li>
                            <li class="nav-item">
                                <a class="nav-link" href="#">家乡风俗</a>
                            </li>
                        </ul>
                        <form class="form-inline my-2 my-lg-0">
                            <input class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search">
                            <button class="btn btn-outline-success my-2 my-sm-0" type="submit">搜索</button>
                        </form>
                        <a class="navbar-brand" href="#">login</a>
                    </div>
                </nav>
            </div>
        </div>
        <div class="row">
            <div class="col-10">
                <div class="row">
                    <div class="col">
                        <!--显示大屏幕-->
                        <div class="jumbotron">
                            <h1 class="display-2">首页</h1>
                            <hr class="my-4">
                            <div class="row">
                                <div class="col">
                                    <!--big logo-->
                                    <img src="{% static 'images/logo.png' %}" alt="" style="max-width: 70%;height:auto;">
                                </div>
                                <div class="col">
                                    <!--统计信息-->
                                    <div class="container text-center">
                                        <p class="lead">人人可编辑的家乡百科<br>目前,已有数字条关于家乡的条目<br>有数字条讨论</p>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-4">
                        <!--新闻-->
                        <div class="card text-black-50 mb-3 border-success">
                            <div class="card-header bg-success font-weight-bold">最新新闻</div>
                            <div class="card-body">
                                <h5 class="card-title">title1</h5>
                                <p class="card-text">text</p>
                            </div>
                            <hr class="my-4">
                            <div class="card-body">
                                <h5 class="card-title">title2</h5>
                                <p class="card-text">text</p>
                            </div>
                            <hr class="my-4">
                            <div class="card-body">
                                <h5 class="card-title">title3</h5>
                                <p class="card-text">text</p>
                            </div>
                        </div>
                    </div>
                    <div class="col-8">
                        <!--内容-->
                        <div class="row">
                            <div class="col">
                                <!--关于本站-->
                                <div class="card text-black-50 mb-3 border-success">
                                    <div class="card-header bg-success font-weight-bold">关于本站</div>
                                    <div class="card-body">
                                        <p class="card-text">text</p>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col">
                                <!--轮播图-->
                                <div class="bg-carousel">
                                    <div id="carouselCaptions" class="carousel slide" data-ride="carousel">
                                        <ol class="carousel-indicators">
                                            <li data-target="#carouselCaptions" data-slide-to="0" class="active">
                                            </li>
                                            <li data-target="#carouselCaptions" data-slide-to="1"></li>
                                            <li data-target="#carouselCaptions" data-slide-to="2"></li>
                                        </ol>
                                        <div class="carousel-inner">
                                            <div class="carousel-item active">
                                                <img src="{% static 'images/bg-1.jpg' %}" class="d-block w-100" alt="...">
                                                <div class="carousel-caption d-none d-md-block">
                                                    <p>Nulla vitae elit libero, a pharetra augue mollis interdum.</p>
                                                </div>
                                            </div>
                                            <div class="carousel-item">
                                                <img src="{% static 'images/bg-2.jpg' %}" class="d-block w-100" alt="...">
                                                <div class="carousel-caption d-none d-md-block">
                                                    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
                                                </div>
                                            </div>
                                            <div class="carousel-item">
                                                <img src="{% static 'images/bg-3.jpg' %}" class="d-block w-100" alt="...">
                                                <div class="carousel-caption d-none d-md-block">
                                                    <p>Praesent commodo cursus magna, vel scelerisque nisl consectetur.
                                                    </p>
                                                </div>
                                            </div>
                                        </div>
                                        <a class="carousel-control-prev" href="#carouselCaptions" role="button"
                                            data-slide="prev">
                                            <span class="carousel-control-prev-icon" aria-hidden="true"></span>
                                            <span class="sr-only">Previous</span>
                                        </a>
                                        <a class="carousel-control-next" href="#carouselCaptions" role="button"
                                            data-slide="next">
                                            <span class="carousel-control-next-icon" aria-hidden="true"></span>
                                            <span class="sr-only">Next</span>
                                        </a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col">
                                <!--问题:你知道吗?-->
                                <div class="card text-black-50 mb-3 border-success">
                                    <div class="card-header bg-success font-weight-bold">你知道吗?</div>
                                    <div class="card-body">
                                        <p class="card-text">text</p>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col">
                                <!--协助网站-->
                                <div class="card text-black-50 mb-3 border-success">
                                    <div class="card-header bg-success font-weight-bold">协助完善本站</div>
                                    <div class="card-body">
                                        <p class="card-text">text</p>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col-2">
                <div class="cow">
                    <div class="col">
                        <!--贡献者-->
                        <div class="card mb-3">
                            <div class="card-header bg-transparent">Header</div>
                            <div class="card-body text-success">
                                <ul class="card-text">
                                    <li>1</li>
                                    <li>2</li>
                                    <li>more</li>
                                </ul>
                            </div>
                            <div class="card-footer bg-transparent text-right"><a href="#"
                                    class="btn btn-success">查看更多</a>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="cow">
                    <div class="col">
                        <!--最近添加 and 最近讨论-->
                        <div class="card">
                            <div class="card-header">
                                <ul class="nav nav-tabs card-header-tabs">
                                    <li class="nav-item">
                                        <a class="nav-link active small" href="#">最近添加</a>
                                    </li>
                                    <li class="nav-item small">
                                        <a class="nav-link" href="#">最近讨论</a>
                                    </li>
                                </ul>
                            </div>
                            <div class="card-body">
                                <ul class="card-text">
                                    <li>1</li>
                                    <li>2</li>
                                    <li>more</li>
                                </ul>
                            </div>
                            <div class="card-footer bg-transparent text-right"><a href="#"
                                    class="btn btn-success">查看更多</a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
            integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous">
        </script>
        <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
            integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous">
        </script>
        <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
            integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous">
        </script>
        <script src="" async defer></script>
</body>

</html>